package org.cainiao.api.lark.dto.response.docs.docs.apireference.document;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;
import org.cainiao.api.lark.dto.response.LarkHasMore;

import java.io.Serial;
import java.util.List;

/**
 * <br />
 * <p>
 * Author: Cai Niao(wdhlzd@163.com)<br />
 */
@NoArgsConstructor
@AllArgsConstructor
@SuperBuilder
@Data
@EqualsAndHashCode(callSuper = true)
public class LarkBlockPage extends LarkHasMore {

    @Serial
    private static final long serialVersionUID = 4136298642498726075L;

    /**
     * 分页标记，当 has_more 为 true 时，会同时返回新的 page_token，否则不返回 page_token
     */
    private String pageToken;

    /**
     * 文档的 Block 信息
     */
    private List<LarkBlock> items;
}
